Přeskočit na hlavní obsah

Module: components/CreateUser

Variables

userDataSchema

Const userDataSchema: ZodObject<{ id: ZodString ; password: ZodEffects<ZodEffects<ZodEffects<ZodEffects<ZodString, string, string>, string, string>, string, string>, string, string> }, "strip", ZodTypeAny, { id: string ; password: string }, { id: string ; password: string }>

Defined in

src/web-app/src/components/CreateUser.tsx:22

Functions

default

default(root0): Element

Form for creating a user.

Parameters

NameTypeDescription
root0ObjectProps.
root0.onChangeDone?() => voidCallback to call when the password is changed.
root0.userRoleTitleUserRoleTitleTitle of the role to assign to the created user.

Returns

Element

Defined in

src/web-app/src/components/CreateUser.tsx:55